package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;
import java.util.List;

/**
 * 爆款素材实体
 * 表名 material
 *
 * 
 *
 * @date Sat Oct 17 15:28:11 CST 2020
 */
@Setter
@Getter
public class MaterialEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //店铺id
    private Long shopId;
        //发布用户id
    private Long userId;
        //产品id
    private Long goodsId;
        //产品名
    private String goodsName;
        //素材内容
    private String content;
        //IMG-素材图
    private String img;
        //发布时间
    private Date createTime;
        //起止时间
    Date[] createTimes;
        //ENUM-状态:"NO-未通过","AUDIT-待审核","YES-通过"
    private Integer status;
    
    public MaterialEntity(){

    }
    //店铺
    public ShopEntity shopEntity;
    //评论信息
    private List<CommentEntity> comments;
    //时间戳
    private String time;
    private String userCode;
    public BigDecimal  goodsPrice;
    public String  goodsImg;

}
